package com.atguigu.admin.dao;


import com.atguigu.admin.bean.Admin;
import com.atguigu.admin.bean.City;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

/**
 *
 */
@Mapper
public interface CityMapper {

    @Insert("insert into admin('username','password') values(#{userName},#{password}")
    @Options(useGeneratedKeys = true,keyProperty = "id")

    public void InsertCity(City city);

}
